import React from 'react';
import { Link } from "react-router-dom";
function ScollListRow0(props) {
  let i = props.i;
  return (
    <Link to={"/read/" + i._id} className="listItem">
      <span className="delBtn" onClick={()=> { console.log(1213,i._id); props._collectNoverByIdDe(i._id)}}>删除</span>
        <div className={"imgBox"}>
        <img className="banner-img" alt="1" src={i.cover} />
      </div>
      <div className="listContent">
        <p className="title"> {i.title}</p>
        <p className="details"> {i.lastChapter}</p>
      </div>
    </Link>
  )
}
export default ScollListRow0;